.class public Lcom/waiqin365/lightapp/dailyreport/view/bu;
.super Landroid/support/v4/app/Fragment;


# instance fields
.field public a:Ljava/lang/String;

.field public b:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

.field private c:Landroid/widget/RelativeLayout;

.field private d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private e:Lcom/waiqin365/lightapp/view/NoNetView;

.field private f:Ljava/util/ArrayList;

.field private g:Ljava/lang/String;

.field private h:Ljava/lang/String;

.field private i:Lcom/waiqin365/lightapp/dailyreport/view/i;

.field private j:Ljava/util/HashMap;

.field private k:Ljava/lang/String;

.field private l:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    const-string/jumbo v0, "ALL"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->g:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->h:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/bv;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/dailyreport/view/bv;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/bu;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->l:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Landroid/widget/RelativeLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->c:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/bu;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->g:Ljava/lang/String;

    return-object p1
.end method

.method private a(I)V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->f:Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->j:Ljava/util/HashMap;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->l:Landroid/os/Handler;

    invoke-static {v0, v1, p1, v2}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/util/ArrayList;Ljava/util/HashMap;ILandroid/os/Handler;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/bu;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/bu;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/dailyreport/view/bu;Ljava/util/HashMap;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a(Ljava/util/HashMap;Ljava/util/ArrayList;)V

    return-void
.end method

.method private a(Ljava/util/ArrayList;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->f:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->removeAll(Ljava/util/Collection;)Z

    return-void
.end method

.method private a(Ljava/util/HashMap;Ljava/util/ArrayList;)V
    .locals 4

    const/4 v0, 0x0

    move v2, v0

    :goto_0
    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_1

    invoke-virtual {p2, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/g;

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {p1, v1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    invoke-virtual {p1, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->b:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/a/b;->a(Landroid/content/Context;)Lcom/waiqin365/lightapp/dailyreport/a/b;

    move-result-object v1

    iget-object v3, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->a:Ljava/lang/String;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/g;->n:Ljava/lang/String;

    invoke-virtual {v1, v3, v0}, Lcom/waiqin365/lightapp/dailyreport/a/b;->b(Ljava/lang/String;Ljava/lang/String;)Z

    :cond_0
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_1
    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/dailyreport/view/bu;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->h:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->f:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Lcom/waiqin365/lightapp/dailyreport/view/i;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->i:Lcom/waiqin365/lightapp/dailyreport/view/i;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->e:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->j:Ljava/util/HashMap;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->g:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/dailyreport/view/bu;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->h:Ljava/lang/String;

    return-object v0
.end method


# virtual methods
.method public a(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->i:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/dailyreport/view/i;->a(Ljava/lang/String;)V

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->g:Ljava/lang/String;

    invoke-virtual {p0, v0, p1, p2}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/b/a/k;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->b:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;->a:Ljava/lang/String;

    invoke-direct {v0, v1, p1, p2, p3}, Lcom/waiqin365/lightapp/dailyreport/b/a/k;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/waiqin365/lightapp/dailyreport/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->l:Landroid/os/Handler;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/dailyreport/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/dailyreport/b/a/a;)V

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/dailyreport/b/b;->start()V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "channelItem"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    const-string/jumbo v0, "ALL"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    :goto_0
    invoke-super {p0, p1}, Landroid/support/v4/app/Fragment;->onCreate(Landroid/os/Bundle;)V

    return-void

    :cond_0
    const-string/jumbo v0, "DAILY_REPORT"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "1"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_1
    const-string/jumbo v0, "WEEK_REPORT"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "5"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_2
    const-string/jumbo v0, "MONTH_REPORT"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "6"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_3
    const-string/jumbo v0, "CUSTOMER"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const-string/jumbo v0, "100"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_4
    const-string/jumbo v0, "PHOTO"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    const-string/jumbo v0, "101"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_5
    const-string/jumbo v0, "SHARE"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "2"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_6
    const-string/jumbo v0, "VISIT"

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    const-string/jumbo v0, "4"

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0

    :cond_7
    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    goto :goto_0
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 4

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->g:Ljava/lang/String;

    const v0, 0x7f03010b

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    const v0, 0x7f0c0641

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->c:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0642

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c00cb

    invoke-virtual {v1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->e:Lcom/waiqin365/lightapp/view/NoNetView;

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->j:Ljava/util/HashMap;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->f:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->b:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    new-instance v0, Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->b:Lcom/waiqin365/lightapp/dailyreport/NewPersonInfoActivity;

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->f:Ljava/util/ArrayList;

    invoke-direct {v0, v2, v3}, Lcom/waiqin365/lightapp/dailyreport/view/i;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->i:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->i:Lcom/waiqin365/lightapp/dailyreport/view/i;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->i:Lcom/waiqin365/lightapp/dailyreport/view/i;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v2, v0, Lcom/waiqin365/lightapp/dailyreport/view/i;->a:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v2, Lcom/waiqin365/lightapp/dailyreport/view/bw;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/dailyreport/view/bw;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/bu;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonRefreshListener(Lcom/waiqin365/lightapp/dailyreport/view/z;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    new-instance v2, Lcom/waiqin365/lightapp/dailyreport/view/bx;

    invoke-direct {v2, p0}, Lcom/waiqin365/lightapp/dailyreport/view/bx;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/bu;)V

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setonHistoryListener(Lcom/waiqin365/lightapp/dailyreport/view/aa;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->g:Ljava/lang/String;

    const-string/jumbo v2, "1"

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->k:Ljava/lang/String;

    invoke-virtual {p0, v0, v2, v3}, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v0, "onCreateView"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "onCreateView"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/bu;->a:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-object v1
.end method
